package bam.entity;

import java.util.Date;

/**
 * RealtimecomboId entity. @author MyEclipse Persistence Tools
 */

public class RealtimecomboId implements java.io.Serializable {

	// Fields

	private String account="";
	private Integer areaId = -1;
	private Integer usersId;
	private Date endTime;
	private Date buyTime;
	private String descr;
	private Integer status = -1;
	private Double money =(double) -1;
	private String comboName="";
	private Integer comboUnit = -1;
	private Integer timeLong=-1;
	private Integer wayId;

	// Constructors

	/** default constructor */
	public RealtimecomboId() {
	}

	/** minimal constructor */
	public RealtimecomboId(String account) {
		this.account = account;
	}

	/** full constructor */
	public RealtimecomboId(String account, Integer areaId,
			Date endTime, Date buyTime, Integer status,
			Double money, String comboName, Integer comboUnit,
			Integer timeLong) {
		this.account = account;
		this.areaId = areaId;
		this.endTime = endTime;
		this.buyTime = buyTime;
		this.status = status;
		this.money = money;
		this.comboName = comboName;
		this.comboUnit = comboUnit;
		this.timeLong = timeLong;
	}

	// Property accessors

	public String getAccount() {
		return this.account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public Integer getAreaId() {
		return this.areaId;
	}

	public void setAreaId(Integer areaId) {
		this.areaId = areaId;
	}

	public Integer getUsersId() {
		return this.usersId;
	}

	public void setUsersId(Integer usersId) {
		this.usersId = usersId;
	}


	public String getDescr() {
		return this.descr;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public Date getBuyTime() {
		return buyTime;
	}

	public void setBuyTime(Date buyTime) {
		this.buyTime = buyTime;
	}

	public void setDescr(String descr) {
		this.descr = descr;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Double getMoney() {
		return this.money;
	}

	public void setMoney(Double money) {
		this.money = money;
	}

	public String getComboName() {
		return this.comboName;
	}

	public void setComboName(String comboName) {
		this.comboName = comboName;
	}

	public Integer getComboUnit() {
		return this.comboUnit;
	}

	public void setComboUnit(Integer comboUnit) {
		this.comboUnit = comboUnit;
	}

	public Integer getTimeLong() {
		return this.timeLong;
	}

	public void setTimeLong(Integer timeLong) {
		this.timeLong = timeLong;
	}

	public Integer getWayId() {
		return this.wayId;
	}

	public void setWayId(Integer wayId) {
		this.wayId = wayId;
	}

	@Override
	public String toString() {
		return "RealtimecomboId [account=" + account + ", areaId=" + areaId
				+ ", usersId=" + usersId + ", endTime=" + endTime
				+ ", buyTime=" + buyTime + ", descr=" + descr + ", status="
				+ status + ", money=" + money + ", comboName=" + comboName
				+ ", comboUnit=" + comboUnit + ", timeLong=" + timeLong
				+ ", wayId=" + wayId + "]";
	}


}